package com.jixiang.utils.thread;


import com.jixiang.model.user.entity.UsUser;

public class UserThread {
//    public ThreadLocal<WmUser> HM_USER ;
    private final static ThreadLocal<UsUser> TL_USER  = new ThreadLocal<UsUser>();

    public static void setUser(UsUser usUser){
        TL_USER.set(usUser);
    }

    public static UsUser getUser(){
        return TL_USER.get();
    }

    public static void clearUser(){
        TL_USER.remove();
    }

}
